package com.smarthealthring.mm.bean;

import java.util.List;

/**
 * Created by joash on 2018/6/12.
 */

public class SleepDetailRes {

    /**
     * hasdata : 1
     * sleepmng : [{"userid":"15195903496","deviceid":"11-22-33-44-55-66","wday":"2018年06月","starttime":"1528472040000","endtime":"1528514640000","starttimehex":null,"endtimehex":null,"deepsleeptime":"30.016666666666666","lowsleeptime":"563.9833333333333","wakeuptime":"116.0","yearweek":"201823","monday":"20180611","sunday":"20180617","weekcount":"23","createtime":1528712983000,"updatetime":null,"remark":null}]
     */

    private String hasdata;
    private List<SleepmngBean> sleepmng;

    public String getHasdata() {
        return hasdata;
    }

    public void setHasdata(String hasdata) {
        this.hasdata = hasdata;
    }

    public List<SleepmngBean> getSleepmng() {
        return sleepmng;
    }

    public void setSleepmng(List<SleepmngBean> sleepmng) {
        this.sleepmng = sleepmng;
    }

    public static class SleepmngBean {
        /**
         * userid : 15195903496
         * deviceid : 11-22-33-44-55-66
         * wday : 2018年06月
         * starttime : 1528472040000
         * endtime : 1528514640000
         * starttimehex : null
         * endtimehex : null
         * deepsleeptime : 30.016666666666666
         * lowsleeptime : 563.9833333333333
         * wakeuptime : 116.0
         * yearweek : 201823
         * monday : 20180611
         * sunday : 20180617
         * weekcount : 23
         * createtime : 1528712983000
         * updatetime : null
         * remark : null
         */

        private String userid;
        private String deviceid;
        private String wday;
        private String starttime;
        private String endtime;
        private Object starttimehex;
        private Object endtimehex;
        private String deepsleeptime;
        private String lowsleeptime;
        private String wakeuptime;
        private String yearweek;
        private String monday;
        private String sunday;
        private String weekcount;
        private long createtime;
        private Object updatetime;
        private Object remark;

        public String getUserid() {
            return userid;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }

        public String getDeviceid() {
            return deviceid;
        }

        public void setDeviceid(String deviceid) {
            this.deviceid = deviceid;
        }

        public String getWday() {
            return wday;
        }

        public void setWday(String wday) {
            this.wday = wday;
        }

        public String getStarttime() {
            return starttime;
        }

        public void setStarttime(String starttime) {
            this.starttime = starttime;
        }

        public String getEndtime() {
            return endtime;
        }

        public void setEndtime(String endtime) {
            this.endtime = endtime;
        }

        public Object getStarttimehex() {
            return starttimehex;
        }

        public void setStarttimehex(Object starttimehex) {
            this.starttimehex = starttimehex;
        }

        public Object getEndtimehex() {
            return endtimehex;
        }

        public void setEndtimehex(Object endtimehex) {
            this.endtimehex = endtimehex;
        }

        public String getDeepsleeptime() {
            return deepsleeptime;
        }

        public void setDeepsleeptime(String deepsleeptime) {
            this.deepsleeptime = deepsleeptime;
        }

        public String getLowsleeptime() {
            return lowsleeptime;
        }

        public void setLowsleeptime(String lowsleeptime) {
            this.lowsleeptime = lowsleeptime;
        }

        public String getWakeuptime() {
            return wakeuptime;
        }

        public void setWakeuptime(String wakeuptime) {
            this.wakeuptime = wakeuptime;
        }

        public String getYearweek() {
            return yearweek;
        }

        public void setYearweek(String yearweek) {
            this.yearweek = yearweek;
        }

        public String getMonday() {
            return monday;
        }

        public void setMonday(String monday) {
            this.monday = monday;
        }

        public String getSunday() {
            return sunday;
        }

        public void setSunday(String sunday) {
            this.sunday = sunday;
        }

        public String getWeekcount() {
            return weekcount;
        }

        public void setWeekcount(String weekcount) {
            this.weekcount = weekcount;
        }

        public long getCreatetime() {
            return createtime;
        }

        public void setCreatetime(long createtime) {
            this.createtime = createtime;
        }

        public Object getUpdatetime() {
            return updatetime;
        }

        public void setUpdatetime(Object updatetime) {
            this.updatetime = updatetime;
        }

        public Object getRemark() {
            return remark;
        }

        public void setRemark(Object remark) {
            this.remark = remark;
        }
    }
}
